from django.shortcuts import render, HttpResponse
from django.views import View

# Create your views here.
def news(request, nid):
    print(nid)
    return HttpResponse("新闻")

def news02(request, name):
    print(name)
    return HttpResponse("新闻02")

def news03(request, parameter):
    print(parameter)
    return HttpResponse("新闻03")

def article(request):
    nid = request.GET.get("nid")
    print(nid)
    return HttpResponse("文章")

def users(request, xid):
    print(xid)
    return HttpResponse("Users")

def users02(request, xid, yid):
    print(xid, yid)
    return HttpResponse("Users")